package com.weiz.designpatterns.composite;

/**
 * 员工类
 * @author weiz
 */
public class Staff extends Basic {
    @Override
    int getSumOfStaff(int sum) {
        sum+=1;
        return sum;
    }
}